package cn.school.attendance.dormitory.service;

import cn.school.attendance.dormitory.entity.AttendanceRules;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * @author: lx
 * @date: 2023/9/5 9:46
 * @description:
 */
public interface AttendanceRulesService {

    IPage<AttendanceRules> findRulesPageList(AttendanceRules query);

    int addRules(AttendanceRules rules);

    int updateRules(AttendanceRules rules);

    int deleteRules(Long id);

    AttendanceRules findAttendanceRulesById(Long id);
}
